/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.p2psimulator.entity.protocol.structured.storm.stormcycles;

import java.util.Map;
import org.p2psimulator.entity.Id;
import org.p2psimulator.entity.overlaynetwork.routingtable.StormRoutingTable;
import org.p2psimulator.entity.overlaynetwork.routingtable.WitnessesTable;
import org.p2psimulator.entity.protocol.structured.chordcycles.ChordCycle;
import org.p2psimulator.engine.Environment;

/**
 *
 * @author Amorim
 */
public abstract class StormCycle extends ChordCycle {

    Map<Id, Map<Id, WitnessesTable>> witnessesTablesMap;
    Map<Id, StormRoutingTable> routingTablesMap;
    
    public StormCycle(Environment env, int transId,
        Map<Id, Map<Id, WitnessesTable>> witnessesTablesMap,
        Map<Id, StormRoutingTable> routingTablesMap) {
        super(env, transId);
        this.witnessesTablesMap = witnessesTablesMap;
        this.routingTablesMap = routingTablesMap;
    }

}
